import http from '@/utils/request.js'
//创建医院
export const createHospital = () => {
    return http.post("/distributors/hospitals", {
        username: 'test',
        password: '123456',
        name: 'lxs',
        sex: '男',
        email: 'test@qq.com',
        phone: '123456789',
        address: 'test',
        city: "北京",
        state: "西安市",
        pincode: '123456',
    })
}




//获取医院信息
export const getHospitalList = () => {
    return http.get("/distributors/hospitals")
}
